﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ERPSystem.Common.Domains.PurchaseWarehousing
{
    /// <summary>
    /// 采购物料入库单
    /// </summary>
    public class PurchaseIncomingMaterials
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
        public int PurchaseIncomingMaterialsId { get; set; }
        /// <summary>
        /// 销售订单号
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(200)", IsNullable = true)]
        public string SalesOrder { get; set; }
        /// <summary>
        /// 物料编码
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(200)", IsNullable = true)]
        public string ItemBianma { get; set; }
        /// <summary>
        /// 物料名称
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(200)", IsNullable = true)]
        public string MaterialName { get; set; }
        /// <summary> 
        /// 规格型号
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(200)", IsNullable = true)]
        public string TypeSpecification { get; set; }
        /// <summary>
        /// 主计量
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(200)", IsNullable = true)]
        public string DocumentType { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public int Quantity { get; set; }
        /// <summary>
        /// 体积
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(200)", IsNullable = true)]
        public string Volume { get; set; }
        /// <summary>
        /// 批号
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(200)", IsNullable = true)]
        public string LotNumber { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(200)", IsNullable = true)]
        public string Remark { get; set; }
        /// <summary>
        /// 流水号
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(200)", IsNullable = true)]
        public string SerialNumber { get; set; }

    }
}
